package zengjin.service;

import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;
import zengjin.model.vo.UserVO;

/**
 * @author 19324
 */
@Service
public interface UserService {
    UserVO login(String account, String password, HttpServletRequest request);

    Boolean register(String account, String password, String role);

    Boolean logout(HttpServletRequest request, String account);

    boolean resetPassword(String account, String password, String role);
}
